package bean;

import java.util.List;

/**
 * Created by cch on 2016/6/21.
 */
public class TopBean {

    /**
     * retcode : 200
     * types : [{"typeid":"news","reid":0,"typename":"推荐","typeurl":"http://www.zhidu.co/api/list.php?tid=news"},{"typeid":"189","reid":0,"typename":"小知定制","typeurl":"http://www.zhidu.co/api/list.php?tid=189"},{"typeid":"308","reid":0,"typename":"自媒体","typeurl":"http://www.zhidu.co/api/list.php?tid=308"},{"typeid":"14","typename":"社会","reid":"186","typeurl":"http://www.zhidu.co/api/list.php?tid=14"},{"typeid":"28","typename":"时尚","reid":"186","typeurl":"http://www.zhidu.co/api/list.php?tid=28"},{"typeid":"42","typename":"汽车","reid":"186","typeurl":"http://www.zhidu.co/api/list.php?tid=42"},{"typeid":"53","typename":"另类","reid":"186","typeurl":"http://www.zhidu.co/api/list.php?tid=53"},{"typeid":"96","typename":"军事","reid":"186","typeurl":"http://www.zhidu.co/api/list.php?tid=96"},{"typeid":"116","typename":"精选","reid":"186","typeurl":"http://www.zhidu.co/api/list.php?tid=116"},{"typeid":"188","typename":"电影","reid":"186","typeurl":"http://www.zhidu.co/api/list.php?tid=188"},{"typeid":"313","typename":"视频","reid":"186","typeurl":"http://www.zhidu.co/api/list.php?tid=313"},{"typeid":"315","typename":"美文","reid":"186","typeurl":"http://www.zhidu.co/api/list.php?tid=315"}]
     */

    private int retcode;
    /**
     * typeid : news
     * reid : 0
     * typename : 推荐
     * typeurl : http://www.zhidu.co/api/list.php?tid=news
     */

    private List<TypesBean> types;

    public int getRetcode() {
        return retcode;
    }

    public void setRetcode(int retcode) {
        this.retcode = retcode;
    }

    public List<TypesBean> getTypes() {
        return types;
    }

    public void setTypes(List<TypesBean> types) {
        this.types = types;
    }

    public static class TypesBean {
        private String typeid;
        private int reid;
        private String typename;
        private String typeurl;

        public String getTypeid() {
            return typeid;
        }

        public void setTypeid(String typeid) {
            this.typeid = typeid;
        }

        public int getReid() {
            return reid;
        }

        public void setReid(int reid) {
            this.reid = reid;
        }

        public String getTypename() {
            return typename;
        }

        public void setTypename(String typename) {
            this.typename = typename;
        }

        public String getTypeurl() {
            return typeurl;
        }

        public void setTypeurl(String typeurl) {
            this.typeurl = typeurl;
        }
    }
}
